package com.glodon.paas.monitor.server.biz.domain;

import java.io.Serializable;
import java.util.Date;

public class MonitorAlarmRulesEntity implements Serializable {

	private static final long	serialVersionUID	= 7922802112928390105L;

	// 主键
	private Long				id;

	// 应用主键
	private Long				appId;

	// 插件主键
	private Long				pluginId;

	// 监控项主键
	private Long				itemId;

	// 报警规则名称
	private String				alarmName;

	// 报警级别
	private String				alarmLevel;

	// 预警次数
	private Integer				warningTimes;

	// 报警间隔
	private Integer				alarmInterval;

	// 报警次数
	private Integer				alarmTimes;

	// 最近一次报警时间
	private Date				lastAlarmTime;

	// 报警规则内容
	private String				alarmRules;

	// 报警规则状态
	private String				alarmStatus;								// on:开启；off:关闭

	// 创建时间
	private Date				createTime;

	// 修改时间
	private Date				updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAlarmName() {
		return alarmName;
	}

	public void setAlarmName(String alarmName) {
		this.alarmName = alarmName;
	}

	public String getAlarmLevel() {
		return alarmLevel;
	}

	public void setAlarmLevel(String alarmLevel) {
		this.alarmLevel = alarmLevel;
	}

	public Integer getWarningTimes() {
		return warningTimes;
	}

	public void setWarningTimes(Integer warningTimes) {
		this.warningTimes = warningTimes;
	}

	public Integer getAlarmInterval() {
		return alarmInterval;
	}

	public void setAlarmInterval(Integer alarmInterval) {
		this.alarmInterval = alarmInterval;
	}

	public Integer getAlarmTimes() {
		return alarmTimes;
	}

	public void setAlarmTimes(Integer alarmTimes) {
		this.alarmTimes = alarmTimes;
	}

	public Date getLastAlarmTime() {
		return lastAlarmTime;
	}

	public void setLastAlarmTime(Date lastAlarmTime) {
		this.lastAlarmTime = lastAlarmTime;
	}

	public String getAlarmRules() {
		return alarmRules;
	}

	public void setAlarmRules(String alarmRules) {
		this.alarmRules = alarmRules;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getAlarmStatus() {
		return alarmStatus;
	}

	public void setAlarmStatus(String alarmStatus) {
		this.alarmStatus = alarmStatus;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getPluginId() {
		return pluginId;
	}

	public void setPluginId(Long pluginId) {
		this.pluginId = pluginId;
	}

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

}
